package com.njtoyo.taxi.admin.rest.presenter.platfrom;

import com.njtoyo.taxi.entity.backend.Resource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "账号资源权限", description = "账号的所有资源权限")
public class AdminUserResourcePresenter {

    @ApiModelProperty(value = "资源权限")
    private List<String> resource;

    @ApiModelProperty(value = "身份信息")
    private AdminUserIdentityPresenter identity;

    @ApiModelProperty(value = "菜单权限")
    private List<Resource> menu;
}
